
function showElementsFromUserType(tipoUser) {
	try {
		if(tipoUser == '0'){
			document.getElementById('idMat').style.display = "table-row";
			document.getElementById('idSem').style.display = "table-row";
		}
		else if(tipoUser == '1'){
			document.getElementById('idMat').style.display = "table-row";
			document.getElementById('idSem').style.display = "none";
		}
		else if(tipoUser == '2'){
			document.getElementById('idMat').style.display = "none";
			document.getElementById('idSem').style.display = "none";
		}
		
		return true;
	} catch (err) { return false;}
}